-
Notifications
You must be signed in to change notification settings - Fork 196
Update for new DHI, mock_components #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Summary of ChangesHello @Woojin-Crive, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request primarily focuses on updating the terminology used for hardware abstraction, renaming 'fake' components to 'mock' components across the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the codebase to use the new mock_components and mock_hardware naming convention, replacing the deprecated fake_components and fake_hardware terminology throughout the project. This aligns with updated ROS2 control conventions.
Key Changes:
- Renamed all parameters from
use_fake_hardware/fake_sensor_commandstouse_mock_hardware/mock_sensor_commands - Updated plugin references from
fake_components/GenericSystemtomock_components/GenericSystem - Updated user-facing descriptions in launch files to reflect the new terminology
Reviewed Changes
Copilot reviewed 33 out of 33 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| open_manipulator_x.urdf.xacro | Updated xacro parameters from fake to mock naming |
| omy_l100.urdf.xacro | Updated xacro parameters from fake to mock naming |
| omy_f3m.urdf.xacro | Updated xacro parameters from fake to mock naming |
| omy_3m.urdf.xacro | Updated xacro parameters from fake to mock naming |
| omx_l.urdf.xacro | Updated xacro parameters from fake to mock naming |
| omx_f.urdf.xacro | Updated xacro parameters from fake to mock naming |
| open_manipulator_x_position.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| omy_l100_position.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| omy_l100_current.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| omy_f3m_smooth.ros2_control.xacro | Updated macro parameters, plugin name, and reordered GPIO blocks |
| omy_f3m_position.ros2_control.xacro | Updated macro parameters, plugin name, and reordered GPIO blocks |
| omy_f3m_end_unit.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| omy_f3m_current.ros2_control.xacro | Updated macro parameters, plugin name, and reordered GPIO blocks |
| omy_3m_position.ros2_control.xacro | Updated macro parameters, plugin name, and reordered GPIO blocks |
| omy_3m_end_unit.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| omx_l.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| omx_f.ros2_control.xacro | Updated macro parameters and plugin name from fake_components to mock_components |
| open_manipulator_x.launch.py (description) | Updated parameter name from use_fake_hardware to use_mock_hardware |
| omy_l100.launch.py (description) | Updated parameter name from use_fake_hardware to use_mock_hardware |
| omy_f3m.launch.py (description) | Updated parameter name from use_fake_hardware to use_mock_hardware |
| omy_3m.launch.py (description) | Updated parameter name from use_fake_hardware to use_mock_hardware |
| omx_l.launch.py (description) | Updated parameter name from use_fake_hardware to use_mock_hardware |
| omx_f.launch.py (description) | Updated parameter name from use_fake_hardware to use_mock_hardware |
| open_manipulator_x.launch.py (bringup) | Updated launch arguments, descriptions, and parameter references to mock naming |
| omy_l100_leader_ai.launch.py | Updated launch arguments, descriptions, and parameter references to mock naming |
| omy_l100_follower_ai.launch.py | Updated launch arguments, descriptions, and parameter references to mock naming |
| omy_f3m_leader_ai.launch.py | Updated launch arguments, descriptions, and parameter references to mock naming |
| omy_f3m_follower_ai.launch.py | Updated launch arguments, descriptions, and parameter references to mock naming |
| omy_f3m.launch.py (bringup) | Updated launch arguments, descriptions, and parameter references to mock naming |
| omy_3m.launch.py (bringup) | Updated launch arguments, descriptions, and parameter references to mock naming |
| omx_l_leader_ai.launch.py | Updated launch arguments, descriptions, and parameter references to mock naming |
| omx_f_follower_ai.launch.py | Updated launch arguments, descriptions, and parameter references to mock naming |
| omx_f.launch.py (bringup) | Updated launch arguments, descriptions, and parameter references to mock naming |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request primarily refactors the codebase by replacing fake with mock for hardware components, which is a good change for clarity and standardization. This includes renaming launch arguments like use_fake_hardware to use_mock_hardware and updating plugin paths from fake_components to mock_components. The changes are applied consistently across all modified launch and xacro files. Additionally, some xacro files were refactored to improve the organization of gpio blocks. The overall changes improve code quality and maintainability. I have reviewed the changes and found no issues.
…_manipulator_x_position.xacro
…g and IPC settings
…, PID, and shared memory
Update for new DHI, mock_components